/**
 * 显示加载状态
 */
export const showLoading = (title = '加载中...') => {
	uni.showLoading({
		title,
		mask: false
	});
}

/**
 * 隐藏加载状态
 */
export const hideLoading = () => {
	uni.hideLoading()
}

/**
 * 吐司
 */
export const toast = (title) => {
	uni.showToast({
		title,
		icon: "none",
		duration: 2000
	});
}
